package org.jeecg.modules.lab.entrust.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 样品信息表
 * @Author: jeecg-boot
 * @Date:   2023-07-14
 * @Version: V1.0
 */
@ApiModel(value="lab_sample对象", description="样品信息表")
@Data
@TableName("lab_entrust_sample")
public class LabEntrustSample implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**样品类型*/
    @Excel(name = "样品类型", width = 15)
    @ApiModelProperty(value = "样品类型")
    private java.lang.String samType;
	/**样品名称*/
	@Excel(name = "样品名称", width = 15)
    @ApiModelProperty(value = "样品名称")
    private java.lang.String samName;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private java.lang.String model;
	/**产品批号*/
	@Excel(name = "产品批号", width = 15)
    @ApiModelProperty(value = "产品批号")
    private java.lang.String lotNum;
    /**抽样单位*/
//    @Excel(name = "抽样单位", width = 15)
    @ApiModelProperty(value = "抽样单位")
    private java.lang.String samEnt;
    /**抽样地点*/
//    @Excel(name = "抽样地点", width = 15)
    @ApiModelProperty(value = "抽样地点")
    private java.lang.String samAddress;
	/**取样日期*/
	@Excel(name = "取样日期", width = 15)
//	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
//    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "取样日期")
    private java.lang.String samDate;
    /**样品包装*/
//    @Excel(name = "样品包装", width = 15)
    @ApiModelProperty(value = "样品包装")
    private java.lang.String samPack;
    /**抽样基数*/
//    @Excel(name = "抽样基数", width = 15)
//    @ApiModelProperty(value = "抽样基数")
    private java.lang.String samNumber;
	/**样品量 */
	@Excel(name = "样品量", width = 15)
    @ApiModelProperty(value = "样品量")
    private java.lang.String samQuality;
	/**样品外观*/
	@Excel(name = "样品外观", width = 15)
    @ApiModelProperty(value = "样品外观")
    private java.lang.String samAppear;
	/**其他说明*/
//	@Excel(name = "其他说明", width = 15)
    @ApiModelProperty(value = "其他说明")
    private java.lang.String remark;
    /**样品编号*/
//    @Excel(name = "样品编号", width = 15)
    @ApiModelProperty(value = "样品编号")
    private java.lang.String samNum;
    /**交接人*/
//    @Excel(name = "交接人", width = 15)
    @ApiModelProperty(value = "交接人")
    private java.lang.String handPerson;
	/**委托主键ID*/
    @ApiModelProperty(value = "委托主键ID")
    private java.lang.String entrustId;
    /**样品状态*/
//    @Excel(name = "样品状态", width = 15)
    @ApiModelProperty(value = "样品状态")
    private java.lang.String samStatus;


    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "领样日期")
    private java.util.Date outDate;

    @ApiModelProperty(value = "领样人id")
    private java.lang.String outPersonId;

    @ApiModelProperty(value = "领样人")
    private java.lang.String outPerson;

    @ApiModelProperty(value = "领样说明")
    private java.lang.String outRemark;

    /**回收备注*/
//    @Excel(name = "回收备注", width = 15)
    @ApiModelProperty(value = "回收备注")
    private java.lang.String backRemark;

    /**回收日期*/
//    @Excel(name = "回收日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "回收日期")
    private java.util.Date backDate;

    /**存样周期*/
    @ApiModelProperty(value = "存样周期")
    private java.lang.Integer stockCycle;
    /**数据同步标识*/
    @ApiModelProperty(value = "数据同步标识")
    private java.lang.String synFlag;

//    @Excel(name = "抽样基数", width = 15)
    @ApiModelProperty(value = "抽样基数")
    private java.lang.String samBase;


}
